import request from '@/utils/request'

export function hoseRepairHose(data) { //维修管理-查询编号
  return request({
    url: '/hose-management/api/hose/base/all/hose',
    method: 'post',
    data
  })
}


export function hoseRepairList(data) { //维修管理-列表
  return request({
    url: '/hose-management/api/hoseMaintenance/page',
    method: 'post',
    data
  })
}


export function hoseRepairAdd(data) { //维修管理-新增
  return request({
    url: '/hose-management/api/hoseMaintenance/add',
    method: 'post',
    data
  })
}

export function hoseRepairEdit(data) { //维修管理-编辑
  return request({
    url: '/hose-management/api/hoseMaintenance/edit',
    method: 'post',
    data
  })
}

export function hoseRepairDelete(data) { //维修管理-删除
  return request({
    url: '/hose-management/api/hoseMaintenance/del',
    method: 'post',
    data
  })
}


export function hoseRepairDetail(data) { //维修管理-详情
  return request({
    url: '/hose-management/api/hoseMaintenance/queryOne',
    method: 'post',
    data
  })
}